﻿<%@ Page Title="个人中心-我的订单" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Order3.aspx.cs" Inherits="Order3" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <style type="text/css">

    aside{
          height:500px;width:50%;
          float:right;padding-top:30px;margin-top:30px;
          border-style:solid; border-width:2px; border-color:darkgrey;border-radius:10px;
          background-color:aliceblue;
    }

    .FirstSelect{
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:darkgrey;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }


    .select{ 
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:#FFFFFF;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }

    a{text-decoration:none;color: #000000;}

   </style>


    <aside >
     <nav >
         <div class="FirstSelect">
             <a href="PersonalCenter.aspx" >基本信息</a>
         </div>

         <div class="select">
             <a href="ChangePassword.aspx" >修改密码</a>
         </div>
          
         <div class="select">
             <a href="ChangeInformation.aspx" >我发布的</a>
         </div >
         
         <div class="select">
            <a href="Order1.aspx" >我的订单</a>
         </div>
         
         <div class="select">
            <a href="BrowsingFootprints.aspx" >浏览足迹</a>
         </div>
         
     </nav>
    </aside>
</asp:Content>


<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    
    <style type="text/css">
     
    .panel{
           border-style:solid; border-width:3px; border-color:darkgrey;
           width:80%;height:500px;
           margin-top:30px;
           text-align:center;
    }

   .classify{
      display:flex;
      width:35%;height:40px;
      background-color:aliceblue;
      align-items:center;
      justify-content:space-around;
    }

   .classify-a{
      float:left;
      width:50%;height:100%;
      border-style:solid; border-width:3px; border-color:darkgrey;
      text-align:center;line-height:40px;
   }
      table.gridview_m
   {
    border-collapse: collapse;
    border:solid 2px #93c2f1;
    width:98%;
    font-size:10pt;
    }

   table.gridview_m td,th
   {
   border-collapse: collapse;
   border:solid 2px #93c2f1;
   font-size:10pt;
   }


    </style>

    <div class="panel">
      
     <div class="classify">

         <asp:LinkButton class="classify-a" 
          ID="LinkButton1" runat="server" PostBackUrl="Order1.aspx">进行中</asp:LinkButton>
         <asp:LinkButton class="classify-a" 
          ID="LinkButton2" runat="server" PostBackUrl="Order2.aspx">已完成</asp:LinkButton>
         <asp:LinkButton class="classify-a" 
          ID="LinkButton3" runat="server" PostBackUrl="Order3.aspx">失败</asp:LinkButton>
     </div>
     
     <asp:GridView  runat="server" AutoGenerateColumns="false" 
         ID="gvSaleOfGoods" CssClass="gridview_m">

       <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
       <RowStyle BackColor="#ECF5FF" ForeColor="Black" />
       <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
       <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
       <HeaderStyle BackColor="#A6CBEF" Font-Bold="True" ForeColor="#404040" BorderColor="#A6CBEF" />
       <HeaderStyle CssClass="girdview_head" />
       <RowStyle CssClass="gridview_row" />
       <PagerStyle HorizontalAlign="Center" />


       <Columns>
         <asp:BoundField DataField="OrderID" HeaderText="订单ID" Visible ="false"/>
         <asp:BoundField DataField="GoodsName" HeaderText="名称" />
         <asp:BoundField DataField="Type" HeaderText="分类" />
         <asp:BoundField DataField="Price" HeaderText="价格" />
         <asp:ImageField DataImageUrlField="GoodsPicture" HeaderText="图片">
            <ControlStyle Height="60px" Width="100px"/>
         </asp:ImageField>
         <asp:BoundField DataField="Time" HeaderText="下单时间" />
         <asp:HyperLinkField DataNavigateUrlFields="OrderID"
           DataNavigateUrlFormatString="Star.aspx?OrderID={0}"
             Text="去评分" />
       </Columns>
     </asp:GridView>
        <asp:Label ID ="lblCart" runat ="server"></asp:Label>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
   
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">

</asp:Content>

